package com.ydm.fire_fighting_web.modules.ucenter.mapper;


import com.ydm.fire_fighting_web.entity.ucenter.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserInfoRepository extends JpaRepository<UserInfo,Integer> {
    UserInfo findByUsername(String username);
    UserInfo findByUsernameAndPassword(String username, String password);
}
